#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
int main()
{
	int arr[10] = { 1,4,7,8,9,6,5,2,3,0 };
	/*for (int i = 0; i < 10; i++)
	{
		scanf("%d",&arr[i]);
	}*/
	int	max = arr[0];
	for (int i = 0; i < 10; i++)
	{
		max = (max > arr[i]) ? max : arr[i];

	
	}
	printf("%d\n", max);

	return 0;
}